PELogOnServer4

The PELogOnServer4 function was specially designed to accept VB's native 4-byte aligned "Types." It logs on to the specified server.

Declare Function PELogOnServer4 Lib "crwrap32.dll" (ByVal DLLName As 
String, LogOnInfo As PELogOnInfo4) As Integer
Parameters

DLLName

Specifies the name of the Crystal Reports DLL for the server or password protected non-SQL table you want to log on to, for example, PDSODBC.DLL. Note that the DLLName must be enclosed in quotes. DLL names have the following naming convention: PDB*.DLL for standard (non-SQL) databases, PDS*.DLL for SQL/ODBC databases.

LogOnInfo

Specifies the pointer to the PELogOnInfo4 structure.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.

Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com